package com.raos.example.shardingjdbc2basic.service;

import java.sql.SQLException;

/**
 * Sharding-Jdbc分库分表实战之实例接口
 *
 * @author raos
 * @emil 991207823@qq.com
 * @date 2021/8/22 21:10
 */
public interface ExampleService {

    /**
     * 初始化表结构
     *
     * @throws SQLException SQL exception
     */
    void initEnvironment() throws SQLException;

    /**
     * 执行成功
     *
     * @throws SQLException SQL exception
     */
    void processSuccess() throws SQLException;

}
